/*
 * Created: 2022-09-13 19:55:16
 * Author : 涛涛涛
 */
//! 如果要使用一些class的生命周期,直接使用高阶组件来完成
// 导出配置,写在此处,其实嘛也没有
definePageConfig({});
import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
import TestJYInput from './TestJYInput/TestJYInput';
import TestProductCard from './TestProductCard/TestProductCard';
import TestAntdForm from './TestAntdForm/TestAntdForm';
import TestRootPageComponent from './TestRootPageComponent/TestRootPageComponent';
export interface IProps extends ICompProps {}
RootTest.defaultProps = {} as Partial<IProps>;
function RootTest(props: IProps) {
    const { className, style } = props;
    const localClassName = useClassName('RootTest', className);
    return (
        <RootView className={localClassName} style={style}>
            <TestJYInput />
            {/* <TestProductCard /> */}
            {/* <TestAntdForm /> */}
            {/* <TestRootPageFixedNavigation></TestRootPageFixedNavigation> */}
            {/* <TestRootPageComponent></TestRootPageComponent> */}
        </RootView>
    );
}
export default React.memo(RootTest as FC<IProps>);
const RootView = styled(View)`
    &.RootTest {
        /* padding: 20px; */
        .middle {
            background-color: #00f;
        }
    }
`;
